package com.alamiya.security.service;

import com.alamiya.security.entity.PublicAuthority;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hehaoqi
 * @since 2021-02-09
 */
public interface IPublicAuthorityService extends IService<PublicAuthority> {

    /**
     * 通过roleId获取authorityNames
     * @param roleId
     * @return
     */
    List<String> listAuthorityNamesByRoleId(String roleId);
}
